namespace CSharpPro._0915;

public class Phone
{
    public string Brand { get; set; }
    public int Weight { get; set; }
    public long Camera { get; set; }
    public int Price { get; set; }

    public void PrintPhoneInfo()
    {
        Console.WriteLine($"品牌(brand): {Brand}");
        Console.WriteLine($"重量(weight): {Weight}g");
        Console.WriteLine($"后置摄像头像素(camera): {Camera}");
        Console.WriteLine($"价格(price): {Price}");
    }
}
// public class Program
// {
//     static void Main(string[] args)
//     {
//         Phone apple6SPlus = new Phone()
//         {
//             Brand = "苹果 6SPlus",
//             Weight = 192,
//             Camera = 120000000,
//             Price = 6288
//         };
//         apple6SPlus.PrintPhoneInfo(); 
//     }
// }